home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / pa / pa-ghiux.h next >
C/C++ Source or Header  |  1994-04-10  |  2KB  |  52 lines

  1. /* Definitions of target machine for GNU compiler, for HI-UX using GNU as.
  2.    Copyright (C) 1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU CC.
  5.  
  6. GNU CC is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU CC is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU CC; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #ifndef TARGET_DEFAULT
  21. #define TARGET_DEFAULT 0x88        /* TARGET_GAS + TARGET_JUMP_IN_DELAY */
  22. #endif
  23.  
  24. #include "pa/pa.h"
  25.  
  26. /* Make GCC agree with types.h.  */
  27. #undef SIZE_TYPE
  28. #undef PTRDIFF_TYPE
  29.  
  30. #define SIZE_TYPE "unsigned int"
  31. #define PTRDIFF_TYPE "int"
  32.  
  33. /* Like the default, except no -lg.  */
  34. #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-L/lib/libp/ -lc}%{pg:-L/lib/libp/ -lc}"
  35.  
  36. #undef CPP_SPEC
  37. #if (TARGET_DEFAULT & 1) == 0
  38. #define CPP_SPEC "%{msnake:-D_PA_RISC1_1}\
  39.  %{mpa-risc-1-1:-D_PA_RISC1_1}"
  40. #else
  41. #define CPP_SPEC "%{!mpa-risc-1-0:%{!mnosnake:-D_PA_RISC1_1}}"
  42. #endif
  43.  
  44. #undef CC1_SPEC
  45. #define CC1_SPEC "-fwritable-strings %{pg:} %{p:}"
  46.  
  47. #undef CPP_PREDEFINES
  48. #define CPP_PREDEFINES "-Dhppa -DPWB -Dunix -D_HIUX_SOURCE -D__H3050R -D__H3050RX"
  49.  
  50. #undef LINK_SPEC
  51. #define LINK_SPEC "-u main -a archive"
  52.